﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace CCSSolderUI.Migrations
{
    public partial class ChangeCalibPoint : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.UpdateData(
                table: "XYZPoints",
                keyColumn: "Id",
                keyValue: 3,
                column: "Name",
                value: "CalibCamera");

            migrationBuilder.InsertData(
                table: "XYZPoints",
                columns: new[] { "Id", "Name", "Remark", "X", "Y", "Z" },
                values: new object[] { 4, "CalibActual", null, 0.0, 0.0, 0.0 });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "XYZPoints",
                keyColumn: "Id",
                keyValue: 4);

            migrationBuilder.UpdateData(
                table: "XYZPoints",
                keyColumn: "Id",
                keyValue: 3,
                column: "Name",
                value: "Clib");
        }
    }
}
